package com.peress.mycrew.rowing.data;

import com.peress.mycrew.rowing.util.Range;

public final class BoatSeat {

    public static enum SeatType { PORT, STARBOARD, SCULL };

    private final Range<Integer> mSpread;
    private final Range<Integer> mOarLength;
    private final Range<Integer> mInboard;
    private final Range<Integer> mRiggerPosition;
    private final Range<Integer> mFootBoardPosition;
    private SeatType mSeatType;

    public BoatSeat(SeatType seatType) {
        mSeatType = seatType;
        mSpread = new Range<>(0, 0, 0);
        mOarLength = new Range<>(0, 0, 0);
        mInboard = new Range<>(0, 0, 0);
        mRiggerPosition = new Range<>(0, 0, 0);
        mFootBoardPosition = new Range<>(0, 0, 0);
    }

    public Range<Integer> getSpread() { return mSpread; }
    public Range<Integer> getOarLength() { return mOarLength; }
    public Range<Integer> getInboard() { return mInboard; }
    public Range<Integer> getRiggerPosition() { return mRiggerPosition; }
    public Range<Integer> getFootBoardPosition() { return mFootBoardPosition; }
    public SeatType getSeatType() { return mSeatType; }
}
